main: Add `stderr` option for cgi-exec to redirect stderr to stdout master
authorRichard Yu <[email protected]>
Mon, 1 Sep 2025 14:27:33 +0000 (22:27 +0800)
committerRobert Marko <[email protected]>
Thu, 11 Dec 2025 11:15:13 +0000 (12:15 +0100)
commit658b14bda2a0fb617fa456401daee61aae42c805
tree2a8b7985f6f27db4db98738bad9c5fc9d7b0b4b1
parentd4b9fb115c3d9fecb2ebde2fa7b4dd88aa856dff
main: Add `stderr` option for cgi-exec to redirect stderr to stdout

This feature is used by openwrt/luci#7920
It allows cgi processes to follow real-time output sent to stderr.

Closes #2

Signed-off-by: Richard Yu <[email protected]>
Signed-off-by: Paul Donald <[email protected]>
Link: https://github.com/openwrt/cgi-io/pull/3
Signed-off-by: Robert Marko <[email protected]>
main.c